
<%@ page import="mms.Complaints" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'complaints.label', default: 'Complaints')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
        <g:javascript src="complaints/show.js" />
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: complaintsInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.idnum.label" default="Idnum" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: complaintsInstance, field: "idnum")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.complaintTime.label" default="Complaint Time" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${complaintsInstance?.complaintTime}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.complainantName.label" default="Complainant Name" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: complaintsInstance, field: "complainantName")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.contactTel.label" default="Contact Tel" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: complaintsInstance, field: "contactTel")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.faultType.label" default="Fault Type" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: complaintsInstance, field: "faultType")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.complainantContent.label" default="Complainant Content" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: complaintsInstance, field: "complainantContent")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.companyType.label" default="Company Type" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: complaintsInstance, field: "companyType")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.companyId.label" default="Company Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: complaintsInstance, field: "companyId")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.companyName.label" default="Company Name" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: complaintsInstance, field: "companyName")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.companyAddress.label" default="Company Address" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: complaintsInstance, field: "companyAddress")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.haveDispose.label" default="Have Dispose" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: complaintsInstance, field: "haveDispose")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.disposeTime.label" default="Dispose Time" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${complaintsInstance?.disposeTime}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.disposeName.label" default="Dispose Name" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: complaintsInstance, field: "disposeName")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="complaints.disposeContent.label" default="Dispose Content" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: complaintsInstance, field: "disposeContent")}</td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${complaintsInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
